export default {
  title: 'Easyest',
  base: process.env.NODE_ENV === 'production' ? '/easyest/' : '/',
  themeConfig: {
    nav: [
      { text: '文档', link: '/guild/introduce' },
      { text: '组件', link: '/comp/base/btn' },
      { text: '工具', link: '/guild/introduce' }
    ],
    sidebar: {
      '/guild': [
        {
          text: '引入',
          items: [
            {
              text: '介绍',
              link: '/guild/introduce'
            },
            {
              text: '快速开始',
              link: '/guild/quickstart'
            }
          ]
        },
        {
          text: '开发',
          items: [
            {
              text: '目录结构',
              link: '/guild/develop/'
            },
            {
              text: '组件开发',
              link: '/guild/develop/component'
            },
            {
              text: '全局组件',
              link: '/guild/develop/global'
            },

            {
              text: '打包发布',
              link: '/guild/develop/build'
            }
          ]
        }
      ],
      '/comp': [
        {
          text: '基础组件',
          items: [
            {
              text: '按钮',
              link: 'comp/base/btn'
            }
          ]
        },
        {
          text: '表单',
          items: [
            {
              text: '查看样式重置',
              link: 'comp/form/resetStyle'
            }
          ]
        }
      ]
    },
    socialLinks: [{ icon: 'github', link: 'https://github.com/qddidi/easyest' }]
  }
};
